home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / DRIVER.CAB / hplj3200.gpd < prev    next >
Encoding:
Text File  |  2003-02-21  |  31.9 KB  |  998 lines

  1. *%-------------------------------------------------------------------------
  2. *% GPD File Name and version number
  3. *%-------------------------------------------------------------------------
  4. *GPDFileName: "hplj3200.gpd"
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileVersion: "1.004"
  7.  
  8. *%-------------------------------------------------------------------------
  9. *% GPD files to include.
  10. *%-------------------------------------------------------------------------
  11. *Include: "stdnames.gpd"
  12. *Include: "ttfsub.gpd"
  13. *Include: "hpcmacro.gpd"
  14. *Include: "hpcfont.gpd"
  15.  
  16. *%-------------------------------------------------------------------------
  17. *% Help File
  18. *%-------------------------------------------------------------------------
  19. *HelpFile: "hpcljx.hlp"
  20.  
  21. *%-------------------------------------------------------------------------
  22. *% The resource DLL contains strings, icons, bitmaps, fonts, etc.
  23. *%-------------------------------------------------------------------------
  24. *ResourceDLL: "hpcstr.dll"
  25.  
  26. *%-------------------------------------------------------------------------
  27. *% The Model name must match the name in the SETUP.INF file.
  28. *%-------------------------------------------------------------------------
  29. *ModelName: "HP LaserJet 3200 Series PCL"
  30.  
  31. *%-------------------------------------------------------------------------
  32. *% The Unidriver uses 1200 as the Master Units.
  33. *%-------------------------------------------------------------------------
  34. *MasterUnits: PAIR(1200, 1200)
  35.  
  36. *PrinterType: PAGE
  37. *MaxCopies: 999
  38.  
  39. *PrintRate: 9
  40. *PrintRatePPM: 9
  41. *PrintRateUnit: PPM
  42.  
  43. *%-------------------------------------------------------------------------
  44. *% Paper Sizes
  45. *%-------------------------------------------------------------------------
  46. *Feature: PaperSize
  47. {
  48.     *rcNameID: =PAPER_SIZE_DISPLAY
  49.     *DefaultOption: LETTER
  50.  
  51.  
  52.     *Option:16K                                     *% physical page (9300, 12900 - 7.75" x 10.75")
  53.     {
  54.        *rcNameID: =IDS_16K
  55.        *PageDimensions: PAIR(9300,12900)
  56.        *switch: Orientation
  57.        {
  58.            *case: PORTRAIT
  59.            {
  60.                *PrintableArea: PAIR(8700,12500)     
  61.                *PrintableOrigin: PAIR(300, 200)
  62.                *CursorOrigin: PAIR(300, 200)
  63.                *Command: CmdSelect
  64.                {
  65.                    *Order: DOC_SETUP.12
  66.                    *Cmd: "<1B>&l17a8c1E<1B>*p0x0Y<1B>*c0t5220x7500Y"
  67.                }
  68.            }
  69.            *case: LANDSCAPE_CC90
  70.            {
  71.                *PrintableArea: PAIR(8900, 12420)    
  72.                *PrintableOrigin: PAIR(200, 240)
  73.                *CursorOrigin: PAIR(200, 12660)
  74.                *Command: CmdSelect
  75.                {
  76.                    *Order: DOC_SETUP.12
  77.                    *Cmd: "<1B>&l17a8c1E<1B>*p0x0Y<1B>*c0t7452x5340Y"
  78.                }
  79.            }
  80.        }
  81.     }
  82.  
  83.     *Option: A4                                      *% physical page (9920, 14030 - 8.2677" x 11.693")
  84.     {                                                
  85.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME         
  86.         *switch: Orientation
  87.         {
  88.             *case: PORTRAIT
  89.             {
  90.                 *PrintableArea: PAIR(9352, 13630)    *% OK
  91.                 *PrintableOrigin: PAIR(284, 200)
  92.                 *CursorOrigin: PAIR(284, 200)
  93.                 *Command: CmdSelect
  94.                 {
  95.                     *Order: DOC_SETUP.12
  96.                     *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t5611x8178Y"
  97.                 }
  98.             }
  99.             *case: LANDSCAPE_CC90
  100.             {
  101.                 *PrintableArea: PAIR(9520, 13558)    *% OK
  102.                 *PrintableOrigin: PAIR(200, 236)
  103.                 *CursorOrigin: PAIR(200, 13794)
  104.                 *Command: CmdSelect
  105.                 {
  106.                     *Order: DOC_SETUP.12
  107.                     *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t8135x5712Y"
  108.                 }
  109.             }
  110.         }
  111.     }
  112.  
  113.     *Option: A5                                      *% physical page (6992, 9920 - 5.8268" x 8.2677")
  114.     {                                                
  115.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME         *% 1010
  116.         *switch: Orientation
  117.         {
  118.             *case: PORTRAIT
  119.             {
  120.                 *PrintableArea: PAIR(6424, 9520)     *% OK
  121.                 *PrintableOrigin: PAIR(284, 200)
  122.                 *CursorOrigin: PAIR(284, 200)
  123.                 *Command: CmdSelect
  124.                 {
  125.                     *Order: DOC_SETUP.12
  126.                     *Cmd: "<1B>&l25a8c1E<1B>*p0x0Y<1B>*c0t3855x5712Y"
  127.                 }
  128.             }
  129.             *case: LANDSCAPE_CC90
  130.             {
  131.                 *PrintableArea: PAIR(6592, 9448)     *% OK
  132.                 *PrintableOrigin: PAIR(200, 236)
  133.                 *CursorOrigin: PAIR(200, 9684)
  134.                 *Command: CmdSelect
  135.                 {
  136.                     *Order: DOC_SETUP.12
  137.                     *Cmd: "<1B>&l25a8c1E<1B>*p0x0Y<1B>*c0t5669x3955Y"
  138.                 }
  139.             }
  140.         }
  141.     }
  142.  
  143.     *Option: A6
  144.     {                                                *% physical page (4960, 6992 - 4.1339" x 5.8268")
  145. *Ifdef: WINNT_50                                     *% setting left and top registration
  146.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  147. *Else:
  148.         *rcNameID: =IDS_A6
  149. *Endif:   WINNT_50
  150.  
  151.         *PageDimensions: PAIR(4960, 6992)
  152.         *switch: Orientation
  153.         {
  154.             *case: PORTRAIT
  155.             {
  156.                 *PrintableArea: PAIR(4392, 6592)      *% OK
  157.                 *PrintableOrigin: PAIR(284, 200)
  158.                 *CursorOrigin: PAIR(284, 200)
  159.                 *Command: CmdSelect
  160.                 {
  161.                     *Order: DOC_SETUP.12
  162.                     *Cmd: "<1B>&l1572u0Z<1B>&l101a8c1E<1B>*p0x0Y<1B>*c0t2635x3955Y"
  163.                 }
  164.             }
  165.             *case: LANDSCAPE_CC90
  166.             {
  167.                 *PrintableArea: PAIR(4560, 6520)      *% OK
  168.                 *PrintableOrigin: PAIR(200, 236)
  169.                 *CursorOrigin: PAIR(200, 6756)
  170.                 *Command: CmdSelect
  171.                 {
  172.                     *Order: DOC_SETUP.12
  173.                     *Cmd: "<1B>&l1572u-5833Z<1B>&l101a8c1E<1B>*p0x0Y<1B>*c0t3912x2736Y"
  174.                 }
  175.             }
  176.         }
  177.     }
  178.  
  179.     *Option: B5_ISO                                  *% B5 (ISO)
  180.     {                                                *% physical page (8312, 11808 - 6.9291" x 9.8425")
  181.         *rcNameID: =IDS_B5
  182.         *PageDimensions: PAIR(8312, 11808)
  183.         *switch: Orientation
  184.         {
  185.             *case: PORTRAIT
  186.             {
  187.                 *PrintableArea: PAIR(7744, 11408)    *% OK
  188.                 *PrintableOrigin: PAIR(284, 200)
  189.                 *CursorOrigin: PAIR(284, 200)
  190.                 *Command: CmdSelect
  191.                 {
  192.                     *Order: DOC_SETUP.12
  193.                     *Cmd: "<1B>&l65a8c1E<1B>*p0x0Y<1B>*c0t4646x6845Y"
  194.                 }
  195.             }
  196.             *case: LANDSCAPE_CC90
  197.             {
  198.                 *PrintableArea: PAIR(7912, 11336)    *% OK
  199.                 *PrintableOrigin: PAIR(200, 236)
  200.                 *CursorOrigin: PAIR(200, 11572)
  201.                 *Command: CmdSelect
  202.                 {
  203.                     *Order: DOC_SETUP.12
  204.                     *Cmd: "<1B>&l65a8c1E<1B>*p0x0Y<1B>*c0t6801x4747Y"
  205.                 }
  206.             }
  207.         }
  208.     }
  209.  
  210.  
  211.     *Option: B5                                      *% B5 (JIS)
  212.     {                                                *% physical page (8598, 12140 - 7.1653" x 10.118")
  213.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  214.         *switch: Orientation
  215.         {
  216.             *case: PORTRAIT
  217.             {
  218.                 *PrintableArea: PAIR(8030, 11740)    *% OK
  219.                 *PrintableOrigin: PAIR(284, 200)
  220.                 *CursorOrigin: PAIR(284, 200)
  221.                 *Command: CmdSelect
  222.                 {
  223.                     *Order: DOC_SETUP.12
  224.                     *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t4818x7044Y"
  225.                 }
  226.             }
  227.             *case: LANDSCAPE_CC90
  228.             {
  229.                 *PrintableArea: PAIR(8198, 11668)    *% OK
  230.                 *PrintableOrigin: PAIR(200, 236)
  231.                 *CursorOrigin: PAIR(200, 11904)
  232.                 *Command: CmdSelect
  233.                 {
  234.                     *Order: DOC_SETUP.12
  235.                     *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t7001x4919Y"
  236.                 }
  237.             }
  238.         }
  239.     }
  240.  
  241.     *Option: DBL_JAPANESE_POSTCARD_ROTATED          *% physical page (6992, 9448 - 5.8268" x 7.874")
  242.     {
  243.  
  244. *Ifdef: WINNT_50
  245.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  246. *Else:
  247.         *rcNameID: =IDS_DBL_JAPAN_POST_ROTATED
  248.  
  249. *Endif:   WINNT_50
  250.  
  251.         *PageDimensions: PAIR(6992, 9448)
  252.         *switch: Orientation
  253.         {
  254.             *case: PORTRAIT
  255.             {                                       *% OK
  256.                 *PrintableArea: PAIR(6392,9048)
  257.                 *PrintableOrigin: PAIR(300, 200)
  258.                 *CursorOrigin: PAIR(300, 200)
  259.                 *Command: CmdSelect
  260.                 {
  261.                     *Order: DOC_SETUP.12
  262.                     *Cmd: "<1B>&l72a8c1E<1B>*p0x0Y<1B>*c0t3835x5428Y"
  263.                 }
  264.             }
  265.             *case: LANDSCAPE_CC90
  266.             {
  267.                 *PrintableArea: PAIR(6592, 8968)    *% OK
  268.                 *PrintableOrigin: PAIR(200, 240)
  269.                 *CursorOrigin: PAIR(200, 9208)
  270.                 *Command: CmdSelect
  271.                 {
  272.                     *Order: DOC_SETUP.12
  273.                     *Cmd: "<1B>&l72a8c1E<1B>*p0x0Y<1B>*c0t5380x3955Y"
  274.                 }
  275.             }
  276.         }
  277.     }
  278.  
  279.     *Option: ENV_10                                 *% physical page (4948, 11400 - 4.125" x 9.5"))
  280.     {                                               
  281.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME        *% 1019
  282.         *switch: Orientation
  283.         {
  284.             *case: PORTRAIT
  285.             {
  286.                 *PrintableArea: PAIR(4348, 11000)   *% OK
  287.                 *PrintableOrigin: PAIR(300, 200)
  288.                 *CursorOrigin: PAIR(300, 200)
  289.                 *Command: CmdSelect
  290.                 {
  291.                     *Order: DOC_SETUP.12
  292.                     *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t2609x6600Y"
  293.                 }
  294.             }
  295.             *case: LANDSCAPE_CC90
  296.             {
  297.                 *PrintableArea: PAIR(4548, 10920)   *% OK
  298.                 *PrintableOrigin: PAIR(200, 240)
  299.                 *CursorOrigin: PAIR(200, 11160)
  300.                 *Command: CmdSelect
  301.                 {
  302.                     *Order: DOC_SETUP.12
  303.                     *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t6552x2729Y"
  304.                 }
  305.             }
  306.         }
  307.     }
  308.  
  309.     *Option: ENV_B5                                 *% physical page (8314, 11810 - 6.9291" x 9.8425"))
  310.     {                                               
  311.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  312.         *switch: Orientation
  313.         {
  314.             *case: PORTRAIT
  315.             {
  316.                 *PrintableArea: PAIR(7746, 11410)   *% OK
  317.                 *PrintableOrigin: PAIR(284, 200)
  318.                 *CursorOrigin: PAIR(284, 200)
  319.                 *Command: CmdSelect
  320.                 {
  321.                     *Order: DOC_SETUP.12
  322.                     *Cmd: "<1B>&l100a8c1E<1B>*p0x0Y<1B>*c0t4647x6846Y"
  323.                 }
  324.             }
  325.             *case: LANDSCAPE_CC90
  326.             {
  327.                 *PrintableArea: PAIR(7914, 11338)   *% OK
  328.                 *PrintableOrigin: PAIR(200, 236)
  329.                 *CursorOrigin: PAIR(200, 11574)
  330.                 *Command: CmdSelect
  331.                 {
  332.                     *Order: DOC_SETUP.12
  333.                     *Cmd: "<1B>&l100a8c1E<1B>*p0x0Y<1B>*c0t6802x4748Y"
  334.                 }
  335.             }
  336.         }
  337.     }
  338.  
  339.     *Option: ENV_C5                                 *% physical page (7652, 10818 - 6.3779" x 9.0157"))
  340.     {                                               
  341.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME        *% 1027
  342.         *switch: Orientation
  343.         {
  344.             *case: PORTRAIT
  345.             {
  346.                 *PrintableArea: PAIR(7084, 10418)   *% OK
  347.                 *PrintableOrigin: PAIR(284, 200)
  348.                 *CursorOrigin: PAIR(284, 200)
  349.                 *Command: CmdSelect
  350.                 {
  351.                     *Order: DOC_SETUP.12
  352.                     *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t4250x6250Y"
  353.                 }
  354.             }
  355.             *case: LANDSCAPE_CC90
  356.             {
  357.                 *PrintableArea: PAIR(7252, 10346)   *% OK
  358.                 *PrintableOrigin: PAIR(200, 236)
  359.                 *CursorOrigin: PAIR(200, 10582)
  360.                 *Command: CmdSelect
  361.                 {
  362.                     *Order: DOC_SETUP.12
  363.                     *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t6208x4352Y"
  364.                 }
  365.             }
  366.         }
  367.     }
  368.  
  369.     *Option: ENV_DL                                 *% physical page (5196, 10392 - 4.3307" x 8.6614")
  370.     {                                               
  371.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME        *% 1026
  372.         *switch: Orientation
  373.         {
  374.             *case: PORTRAIT
  375.             {
  376.                 *PrintableArea: PAIR(4628, 9992)    *% OK
  377.                 *PrintableOrigin: PAIR(284, 200)
  378.                 *CursorOrigin: PAIR(284, 200)
  379.                 *Command: CmdSelect
  380.                 {
  381.                     *Order: DOC_SETUP.12
  382.                     *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t2777x5995Y"
  383.                 }
  384.             }
  385.             *case: LANDSCAPE_CC90
  386.             {
  387.                 *PrintableArea: PAIR(4796, 9920)    *% OK
  388.                 *PrintableOrigin: PAIR(200, 236)
  389.                 *CursorOrigin: PAIR(200, 10156)
  390.                 *Command: CmdSelect
  391.                 {
  392.                     *Order: DOC_SETUP.12
  393.                     *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t5952x2878Y"
  394.                 }
  395.             }
  396.         }
  397.     }
  398.     *Option: ENV_MONARCH                            *% physical page (4648, 9000 - 3.875" x 7.50")
  399.     {                                               
  400.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME        *% 1036
  401.         *switch: Orientation
  402.         {
  403.             *case: PORTRAIT
  404.             {
  405.                 *PrintableArea: PAIR(4048, 8600)    *% OK
  406.                 *PrintableOrigin: PAIR(300, 200)
  407.                 *CursorOrigin: PAIR(300, 200)
  408.                 *Command: CmdSelect
  409.                 {
  410.                     *Order: DOC_SETUP.12
  411.                     *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t2429x5160Y"
  412.                 }
  413.             }
  414.             *case: LANDSCAPE_CC90
  415.             {
  416.                 *PrintableArea: PAIR(4248, 8520)    *% OK
  417.                 *PrintableOrigin: PAIR(200, 240)
  418.                 *CursorOrigin: PAIR(200, 8760)
  419.                 *Command: CmdSelect
  420.                 {
  421.                     *Order: DOC_SETUP.12
  422.                     *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t5112x2549Y"
  423.                 }
  424.             }
  425.         }
  426.     }
  427.  
  428.     *Option: EXECUTIVE                              *% physical page (8700, 12600 - 7.25" x 10.5"))
  429.     {                                               
  430.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME        *% 1006
  431.         *switch: Orientation
  432.         {
  433.             *case: PORTRAIT
  434.             {
  435.                 *PrintableArea: PAIR(8100, 12200)   *% OK
  436.                 *PrintableOrigin: PAIR(300, 200)
  437.                 *CursorOrigin: PAIR(300, 200)
  438.                 *Command: CmdSelect
  439.                 {
  440.                     *Order: DOC_SETUP.12
  441.                     *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t4860x7320Y"
  442.                 }
  443.             }
  444.             *case: LANDSCAPE_CC90
  445.             {
  446.                 *PrintableArea: PAIR(8300, 12120)   *% OK
  447.                 *PrintableOrigin: PAIR(200, 240)
  448.                 *CursorOrigin: PAIR(200, 12360)
  449.                 *Command: CmdSelect
  450.                 {
  451.                     *Order: DOC_SETUP.12
  452.                     *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t7272x4980Y"
  453.                 }
  454.             }
  455.         }
  456.     }
  457.  
  458.     *Option: FOLIO                                  *% physical page (10200, 15600 - 8.5" x 13.0"))
  459.     {
  460.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME        
  461.         *switch: Orientation
  462.         {
  463.             *case: PORTRAIT
  464.             {
  465.                 *PrintableArea: PAIR(9600, 15200)   *% OK
  466.                 *PrintableOrigin: PAIR(300, 200)
  467.                 *CursorOrigin: PAIR(300, 200)
  468.                 *Command: CmdSelect
  469.                 {
  470.                     *Order: DOC_SETUP.12
  471.                     *Cmd: "<1B>&l10a8c1E<1B>*p0x0Y<1B>*c0t5760x9120Y"          *% verify escape
  472.                 }
  473.             }
  474.             *case: LANDSCAPE_CC90
  475.             {
  476.                 *PrintableArea: PAIR(9800, 15120)   *% OK
  477.                 *PrintableOrigin: PAIR(200, 240)
  478.                 *CursorOrigin: PAIR(200, 15360)
  479.                 *Command: CmdSelect
  480.                 {
  481.                     *Order: DOC_SETUP.12
  482.                     *Cmd: "<1B>&l10a8c1E<1B>*p0x0Y<1B>*c0t9072x5880Y"          *% verify escape
  483.                 }
  484.             }
  485.         }
  486.     }
  487.  
  488.  
  489.     *Option: JAPANESE_POSTCARD
  490.     {
  491. *Ifdef: WINNT_50
  492.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME         *% physical page (4724, 6992 - 3.937" x 5.827")
  493. *Else:
  494.         *rcNameID: =IDS_JAPAN_POST
  495.  
  496. *Endif:   WINNT_50
  497.  
  498.         *PageDimensions: PAIR(4724, 6992)
  499.         *switch: Orientation
  500.         {
  501.             *case: PORTRAIT
  502.             {                                       *% OK
  503.                 *PrintableArea: PAIR(4124, 6592)
  504.                 *PrintableOrigin: PAIR(300, 200)
  505.                 *CursorOrigin: PAIR(300, 200)
  506.                 *Command: CmdSelect
  507.                 {
  508.                     *Order: DOC_SETUP.12
  509.                     *Cmd: "<1B>&l71a8c1E<1B>*p0x0Y<1B>*c0t2474x3955Y"
  510.                 }
  511.             }
  512.             *case: LANDSCAPE_CC90
  513.             {
  514.                 *PrintableArea: PAIR(4324, 6512)    *% OK
  515.                 *PrintableOrigin: PAIR(200, 240)
  516.                 *CursorOrigin: PAIR(200, 6752)
  517.                 *Command: CmdSelect
  518.                 {
  519.                     *Order: DOC_SETUP.12
  520.                     *Cmd: "<1B>&l71a8c1E<1B>*p0x0Y<1B>*c0t3907x2594Y"
  521.                 }
  522.             }
  523.         }
  524.     }
  525.  
  526.     *Option: LEGAL                                  *% physical page (10200, 16800 - 8.5" x 14.0"))
  527.     {
  528.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME        *% 1004
  529.         *switch: Orientation
  530.         {
  531.             *case: PORTRAIT
  532.             {
  533.                 *PrintableArea: PAIR(9600, 16400)   *% OK
  534.                 *PrintableOrigin: PAIR(300, 200)
  535.                 *CursorOrigin: PAIR(300, 200)
  536.                 *Command: CmdSelect
  537.                 {
  538.                     *Order: DOC_SETUP.12
  539.                     *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t5760x9840Y"
  540.                 }
  541.             }
  542.             *case: LANDSCAPE_CC90
  543.             {
  544.                 *PrintableArea: PAIR(9800, 16320)   *% OK
  545.                 *PrintableOrigin: PAIR(200, 240)
  546.                 *CursorOrigin: PAIR(200, 16560)
  547.                 *Command: CmdSelect
  548.                 {
  549.                     *Order: DOC_SETUP.12
  550.                     *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t9792x5880Y"
  551.                 }
  552.             }
  553.         }
  554.     }
  555.  
  556.     *Option: LETTER                                 *% physical page (10200, 13200 - 8.5" x 11.0")
  557.     {
  558.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME        *% 1000
  559.         *switch: Orientation
  560.         {
  561.             *case: PORTRAIT
  562.             {                                       *% OK
  563.                 *PrintableArea: PAIR(9600, 12800)
  564.                 *PrintableOrigin: PAIR(300, 200)
  565.                 *CursorOrigin: PAIR(300, 200)
  566.                 *Command: CmdSelect
  567.                 {
  568.                     *Order: DOC_SETUP.12
  569.                     *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t5760x7680Y"
  570.                 }
  571.             }
  572.             *case: LANDSCAPE_CC90
  573.             {
  574.                 *PrintableArea: PAIR(9800, 12720)   *% OK
  575.                 *PrintableOrigin: PAIR(200, 240)
  576.                 *CursorOrigin: PAIR(200, 12960)
  577.                 *Command: CmdSelect
  578.                 {
  579.                     *Order: DOC_SETUP.12
  580.                     *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t7632x5880Y"
  581.                 }
  582.             }
  583.         }
  584.     }
  585.  
  586.     *Option: CUSTOMSIZE
  587.     {
  588.         *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  589.         *MinSize: PAIR(3600, 6000)                      *% (3.0" x 5.0")
  590.         *MaxSize: PAIR(10200, 16800)                    *% (8.5" x 14.0")
  591.         *MaxPrintableWidth: 10200
  592.         *MinLeftMargin: 100
  593.         *CenterPrintable?: FALSE
  594.  
  595.         *switch: Orientation
  596.         {                                               
  597.             *case: PORTRAIT
  598.             {
  599.                 *CustCursorOriginX:     %d{((PhysPaperWidth - 10200) / 2) + 300}
  600.                 *CustCursorOriginY:     %d{200}
  601.                 *CustPrintableOriginX:  %d{300}
  602.                 *CustPrintableOriginY:  %d{200}
  603.                 *CustPrintableSizeX:    %d{PhysPaperWidth - 600}
  604.                 *CustPrintableSizeY:    %d{PhysPaperLength - 400}
  605.                 *Command: CmdSelect
  606.                 {
  607.                     *Order: DOC_SETUP.13
  608.                     *Cmd: "<1B>&l101a8c1E<1B>*p0x0Y<1B>*c0t5760x9840Y"
  609.                 }
  610.             }
  611.             *case: LANDSCAPE_CC90
  612.             {
  613.                 *CustCursorOriginX:     %d{((PhysPaperWidth - 10200) / 2) + 200}
  614.                 *CustCursorOriginY:     %d{16560}
  615.                 *CustPrintableOriginX:  %d{200}
  616.                 *CustPrintableOriginY:  %d{240}
  617.                 *CustPrintableSizeX:    %d{PhysPaperWidth - 400}
  618.                 *CustPrintableSizeY:    %d{PhysPaperLength - 480}
  619.                 *Command: CmdSelect
  620.                 {
  621.                     *Order: DOC_SETUP.13
  622.                     *Cmd: "<1B>&l101a8c1E<1B>*p0x0Y<1B>*c0t9792x5880Y"
  623.                 }
  624.             }
  625.         }
  626.     }
  627. }
  628.  
  629.  
  630. *%-------------------------------------------------------------------------
  631. *% Paper Source - Form to Tray Assignment 
  632. *%-------------------------------------------------------------------------
  633. *Feature: InputBin
  634. {
  635.     *rcNameID: =PAPER_SOURCE_DISPLAY
  636.     *Option: UPPER
  637.     {
  638.         *rcNameID: =IDS_TRAY1
  639.         *Command: CmdSelect
  640.         {
  641.             *Order: DOC_SETUP.11
  642.             *Cmd: "<1B>&l4H"
  643.         }
  644.     }
  645.     *Option: MANUAL
  646.     {
  647.         *rcNameID: =IDS_MANUAL_FEED_TRAY1
  648.         *Command: CmdSelect
  649.         {
  650.             *Order: DOC_SETUP.11
  651.             *Cmd: "<1B>&l2H"
  652.         }
  653.     }
  654. }
  655.  
  656.  
  657. *%-------------------------------------------------------------------------
  658. *% Optimize For - this is for printers that don't support media selection
  659. *% but need to set the fuser temperature.
  660. *%-------------------------------------------------------------------------
  661. *Feature: OptimizeFor
  662. {
  663.     *rcNameID: =IDS_OPTIMIZE_FOR
  664.     *HelpIndex: 13020
  665.     *DefaultOption: PLAIN
  666.  
  667.     *Option: BOND
  668.     {
  669.         *rcNameID: =IDS_BOND_TYPE
  670.         *Command: CmdSelect
  671.         {
  672.             *Order: JOB_SETUP.5
  673.             *Cmd: "@PJL SET TRAY1TEMP=HIGH<0A>"
  674.         }
  675.     }
  676.     *Option: CARDSTOCK
  677.     {
  678.         *rcNameID: =IDS_CARDSTOCK_TYPE
  679.         *Command: CmdSelect
  680.         {
  681.             *Order: JOB_SETUP.5
  682.             *Cmd: "@PJL SET TRAY1TEMP=HIGH<0A>"
  683.         }
  684.     }
  685.     *Option: ENVELOPE
  686.     {
  687.         *rcNameID: =IDS_ENVELOPE_TYPE
  688.         *Command: CmdSelect
  689.         {
  690.             *Order: JOB_SETUP.5
  691.             *Cmd: "@PJL SET TRAY1TEMP=NORMAL<0A>"
  692.        }
  693.     }
  694.     *Option: HEAVY
  695.     {
  696.         *rcNameID: =IDS_HEAVY_TYPE
  697.         *Command: CmdSelect
  698.         {
  699.             *Order: JOB_SETUP.5
  700.             *Cmd: "@PJL SET TRAY1TEMP=HIGH<0A>"
  701.         }
  702.     }
  703.     *Option: LABELS
  704.     {
  705.         *rcNameID: =IDS_LABELS_TYPE
  706.         *Command: CmdSelect
  707.         {
  708.             *Order: JOB_SETUP.5
  709.             *Cmd: "@PJL SET TRAY1TEMP=HIGH<0A>"
  710.         }
  711.     }
  712.     *Option: PLAIN
  713.     {
  714.         *rcNameID: =IDS_PLAIN_TYPE
  715.         *Command: CmdSelect
  716.         {
  717.             *Order: JOB_SETUP.5
  718.             *Cmd: "@PJL SET TRAY1TEMP=NORMAL<0A>"
  719.         }
  720.     }
  721.     *Option: ROUGH
  722.     {
  723.         *rcNameID: =IDS_ROUGH_TYPE
  724.         *Command: CmdSelect
  725.         {
  726.             *Order: JOB_SETUP.5
  727.             *Cmd: "@PJL SET TRAY1TEMP=HIGH<0A>"
  728.         }
  729.     }
  730.     *Option: THIN
  731.     {
  732.         *rcNameID: =IDS_THIN_TYPE
  733.         *Command: CmdSelect
  734.         {
  735.             *Order: JOB_SETUP.5
  736.             *Cmd: "@PJL SET TRAY1TEMP=NORMAL<0A>"
  737.         }
  738.     }
  739.     *Option: TRANSPARENCY
  740.     {
  741.         *rcNameID: =TRANSPARENCY_DISPLAY
  742.         *Command: CmdSelect
  743.         {
  744.             *Order: JOB_SETUP.5
  745.             *Cmd: "@PJL SET TRAY1TEMP=NORMAL<0A>"
  746.         }
  747.     }
  748.  
  749. }
  750.  
  751.  
  752.  
  753.  
  754.  
  755. *%-------------------------------------------------------------------------
  756. *% Installable Option - Memory
  757. *%-------------------------------------------------------------------------
  758. *Feature: Memory
  759. {
  760.     *rcNameID: =PRINTER_MEMORY_DISPLAY
  761.     *HelpIndex: 12003
  762.     *DefaultOption: 8MB
  763.  
  764.     *MemConfigMB: PAIR(8, 7)
  765.     *MemConfigMB: PAIR(16, 13)
  766.     *MemConfigMB: PAIR(24, 21)
  767.     *MemConfigMB: PAIR(40, 35)
  768.     *MemConfigMB: PAIR(72, 64)
  769.  
  770. }
  771.  
  772.  
  773. *%-------------------------------------------------------------------------
  774. *% Orientation
  775. *%-------------------------------------------------------------------------
  776. *Feature: Orientation
  777. {
  778.     *rcNameID: =ORIENTATION_DISPLAY
  779.     *DefaultOption: PORTRAIT
  780.     *Option: PORTRAIT
  781.     {
  782.         *rcNameID: =PORTRAIT_DISPLAY
  783.         *Command: CmdSelect
  784.         {
  785.             *Order: DOC_SETUP.8
  786.             *Cmd: "<1B>&l0O"
  787.         }
  788.     }
  789.     *Option: LANDSCAPE_CC90
  790.     {
  791.         *rcNameID: =LANDSCAPE_DISPLAY
  792.         *Command: CmdSelect
  793.         {
  794.             *Order: DOC_SETUP.8
  795.             *Cmd: "<1B>&l1O"
  796.         }
  797.     }
  798. }
  799.  
  800. *%-------------------------------------------------------------------------
  801. *% Resolution
  802. *%-------------------------------------------------------------------------
  803. *Feature: Resolution                                
  804. {                                                  
  805.     *rcNameID: =RESOLUTION_DISPLAY
  806.     *DefaultOption: Option1
  807.     *Option: Option1
  808.     {
  809.         *Name: "600 x 600 " =DOTS_PER_INCH
  810.         *DPI: PAIR(600, 600)
  811.         *TextDPI: PAIR(600, 600)
  812.         *MinStripBlankPixels: 32
  813.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  814.         *SpotDiameter: 100
  815.         *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  816.         *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  817.         *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  818.         *Command: CmdSelect
  819.         {
  820.             *Order: JOB_SETUP.6
  821.             *Cmd: "@PJL SET RESOLUTION=600<0A>"
  822. +                 "@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t600R"
  823.         }
  824.     }
  825.     *Option: Option2
  826.     {
  827.         *Name: "300 x 300 " =DOTS_PER_INCH
  828.         *DPI: PAIR(300, 300)
  829.         *TextDPI: PAIR(300, 300)
  830.         *MinStripBlankPixels: 32
  831.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  832.         *SpotDiameter: 100
  833.         *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  834.         *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  835.         *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  836.         *Command: CmdSelect
  837.         {
  838.             *Order: JOB_SETUP.6
  839.             *Cmd: "@PJL SET RESOLUTION=300<0A>"
  840. +                 "@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t300R"
  841.         }
  842.     }
  843. }
  844.  
  845.  
  846. *%-------------------------------------------------------------------------
  847. *% Halftone
  848. *%-------------------------------------------------------------------------
  849. *Feature: Halftone
  850. {
  851.     *rcNameID: =HALFTONING_DISPLAY
  852.     *DefaultOption: HT_PATSIZE_AUTO
  853.     *Option: HT_PATSIZE_AUTO
  854.     {
  855.         *rcNameID: =HT_AUTO_SELECT_DISPLAY
  856.     }
  857.     *Option: HT_PATSIZE_6x6_M
  858.     {
  859.         *rcNameID: =HT_DITHER6X6_DISPLAY
  860.     }
  861.     *Option: HT_PATSIZE_8x8_M
  862.     {
  863.         *rcNameID: =HT_DITHER8X8_DISPLAY
  864.     }
  865. }
  866.  
  867.  
  868. *%-------------------------------------------------------------------------
  869. *% Economode
  870. *%-------------------------------------------------------------------------
  871. *Feature: Economode
  872. {
  873.     *rcNameID: =IDS_ECONOMODE
  874.     *HelpIndex: 12009
  875.     *DefaultOption: Option1
  876.     *Option: Option1
  877.     {
  878.         *rcNameID: =OFF_DISPLAY
  879.         *Command: CmdSelect
  880.         {
  881.             *Order: JOB_SETUP.5
  882.             *Cmd: "@PJL SET ECONOMODE=OFF<0A>"
  883.         }
  884.     }
  885.     *Option: Option2
  886.     {
  887.         *rcNameID: =ON_DISPLAY
  888.         *Command: CmdSelect
  889.         {
  890.             *Order: JOB_SETUP.5
  891.             *Cmd: "@PJL SET ECONOMODE=ON<0A>"
  892.         }
  893.     }
  894. }
  895.  
  896.  
  897. *%-------------------------------------------------------------------------
  898. *% Doc setup commands
  899. *%-------------------------------------------------------------------------
  900. *Command: CmdStartDoc
  901. {
  902.     *Order: DOC_SETUP.7
  903.     *Cmd: "<1B>&u600D<1B>*r0F"
  904. }
  905. *Command: CmdStartPage
  906. {
  907.     *Order: PAGE_SETUP.1
  908.     *Cmd: "<1B>*b0M<0D>"
  909. }
  910.  
  911. *%-------------------------------------------------------------------------
  912. *% Job setup commands
  913. *% Always set MEt=ON (PAGEPROTECT=AUTO) and REt=ON (no UI switch)
  914. *%-------------------------------------------------------------------------
  915. *Command: CmdStartJob
  916. {
  917.     *Order: JOB_SETUP.1
  918.     *Cmd: "<1B>%%-12345X"
  919. +         "@PJL COMMENT HP LaserJet 3200 Series PCL<0A>"
  920. +         "@PJL SET RET=ON<0A>"
  921. +         "@PJL SET PAGEPROTECT=AUTO<0A>"
  922. }
  923.  
  924. *Command: CmdEndJob
  925. {
  926.     *Order: JOB_FINISH.1
  927.     *Cmd: "<1B>E<1B>%%-12345X"
  928. }
  929.  
  930. *Command: CmdCopies
  931. {
  932.     *Order: DOC_SETUP.13
  933.     *Cmd: "<1B>&l" %d[1,32767]{NumOfCopies}"X"
  934. }
  935.  
  936. *RotateCoordinate?: TRUE
  937. *RotateRaster?: TRUE
  938. *RotateFont?: TRUE
  939. *TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
  940. *MemoryUsage: LIST(FONT)
  941. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  942. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  943. *XMoveThreshold: 0
  944. *YMoveThreshold: 0
  945. *XMoveUnit: 600
  946. *YMoveUnit: 600
  947. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
  948. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  949. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  950. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  951. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2) }"Y" }
  952. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2) }"Y" }
  953. *Command: CmdCR { *Cmd : "<0D>" }
  954. *Command: CmdLF { *Cmd : "<0A>" }
  955. *Command: CmdFF { *Cmd : "<0C>" }
  956. *Command: CmdBackSpace { *Cmd : "<08>" }
  957. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  958. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  959. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  960. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  961. *Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
  962. *EjectPageWithFF?: TRUE
  963. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  964. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  965. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  966. *OutputDataFormat: H_BYTE
  967. *OptimizeLeftBound?: TRUE
  968. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  969. *CursorYAfterSendBlockData: AUTO_INCREMENT
  970.  
  971. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  972. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  973. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  974. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  975. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  976. *Command: CmdWhiteTextOn { *Cmd : "<1B>*v1o1T" }
  977. *Command: CmdWhiteTextOff { *Cmd : "<1B>*v0o0T" }
  978. *MinGrayFill: 1
  979. *MaxGrayFill: 100
  980. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{(RectXSize / 2) }"A" }
  981. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{(RectYSize / 2) }"B" }
  982. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage }"g2P" }
  983. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }
  984. *Command: CmdRectBlackFill { *Cmd : "<1B>*c0P" }
  985.  
  986. *switch: Resolution
  987. {
  988.     *case: Option1
  989.     {
  990.         *FontFormat: HPPCL_OUTLINE
  991.     }
  992.     *case: Option2
  993.     {
  994.         *FontFormat: HPPCL_RES
  995.     }
  996. }
  997.  
  998.